﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ds.DataBase.Model.PersonalAssess
{
    /// <summary>
    /// 答案选项
    /// </summary>
    public class PersonalAnswer
    {
        /// <summary>
        /// 答案选项Id
        /// </summary>
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int paid { set; get; }
        /// <summary>
        /// 顺序
        /// </summary>
        public int shunxu { set; get; }
        /// <summary>
        /// 选项内容
        /// </summary>
        public string tips { set; get; }
        /// <summary>
        /// 分值
        /// </summary>
        public decimal fenzhi { set; get; } = 0;
        /// <summary>
        /// HTML
        /// </summary>
        public string html { set; get; }
        public virtual PersonalContent PersonalContent { set; get; }

    }
}
